/*                                                         
------------------------------------------------------------------------

Main Default Style Sheet for Thai Investigators
Author: Joost Kiens
Author website: www.impendulo.net
Author email: joost(at)impendulo(dot)net
Graphic design by Joost Kiens

___Content___

1. Reset
2. Typography
3. Form elements
4. Tables
5. General Elements & Layout
6. Branding & Main-nav
7. Site Info
8. Page specific
9. Overrides

___Colors___

h1, h3 #332002
body p #333333
main bg #eee
sidebar bg #e9e9e9
header bg#582408
footer bg, wrapper bg #471e07
slideshow bg #6b2c0a
wrapper a:link #0E3B60
header a:link footer a:link #a8592e
footer a.active :link #eee
body bg #05223c
main-nav a.current a:link #f4ecdc
main-nav a:link #e4cfa7
#footer p #958881
------------------------------------------------------------------------
*/

/*******************************************************************

																	RESET

********************************************************************
/*Reset browser CSS based on http://meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ and the Yahoo fonts reset css*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0; 
	outline: 0; 
	font-weight: inherit;	
	font-style: inherit;	
	font-family: inherit;	
	vertical-align: baseline;
}
body {
	font-size: 62.5%;/* now 11px will be 1.1em, 14px will be 1.4em, etc*/ 
	font-family: tahoma, verdana, arial, helvetica, sans-serif;
	color: #333;
	background: #05223c url('../images/body-bg.jpg');
}
/* remember to define focus styles! */
:focus {
	outline: 0;
}
/* tables still need 'cellspacing="0"' in the markup */
table {
	font-size:inherit;
	font:100%; 
	border-collapse: separate; 
	border-spacing: 0;
}
caption, th, td {
	text-align: left; 
	font-weight: normal;
}
blockquote:before, blockquote:after, q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
select,input,button,textarea {
	font:99% tahoma, verdana, arial, helvetica, sans-serif;
}
pre,code,kbd,samp,tt {
	font-family:monospace;
	line-height:100%;
}
em {
	font-style: italic
}
strong {
	font-weight: bold;
}
a {
	text-decoration: none;
}
ul {
	list-style: none;
}
ol {
	list-style: decimal;
	margin-left: 30px;
}
h1, h2, h3, h4, h5, h6 {
	font-weight: normal;
}
img {
	background: url('../images/loading.gif') no-repeat 50% 50%;
}
img.no-loader {
	background-image: none;
}
/***********************************************************************

																	TYPOGRAPHY

***********************************************************************/
/*Make sure you don't overwrite the Reset css, change the reset css instead*/
#wrapper {font-size: 13px; line-height: 21px;}
/*p {font-size: 1.2em; line-height: 1.4em;}*/
h1 {font-size: 2.4em;}
h2 {
	font: small-caps 30px/48px "Times New Roman", "Palino Linotype", Georgia, serif;
	letter-spacing: 1px;
	background: url('../images/content-hr.png') 0 bottom repeat-x;
	margin-bottom: 12px;
	color: #332002;
	text-shadow: 0px 1px 0px #fff;
	-moz-text-shadow: 0px 1px 0px #fff;
	-webkit-text-shadow: 0px 1px 0px #fff;
}
h3 {
	font: small-caps bold 18px/28px "Times New Roman", "Palino Linotype", Georgia, serif;
	margin: 12px 0 12px 0;
	color: #332002;
	text-shadow: 0px 1px 0px #fff;
	-moz-text-shadow: 0px 1px 0px #fff;
	-webkit-text-shadow: 0px 1px 0px #fff;
}
h4 {font-size: 1.6em;}
h5 {font-size: 1.4em;}
h6 {font-size: 1.2em;}
a:link {
	color: #0A304F;
	text-decoration: underline;
}
a:visited {
	color: #09497E;
	text-decoration: underline;
}
a:hover {
	color: #2A7ABA;
	text-decoration: none;
	/*background: #E8E9F0;*/
}
a:active {
	color: #121212;
	text-decoration: underline;
}
a.scroll, a.scroll:link, a.scroll:visited {
	font-size: 10px;
	color: #a8592e;
	text-shadow: 0px 1px 1px #000;
	-moz-text-shadow: 0px 1px 1px #000;
	-webkit-text-shadow: 0px 1px 1px #000;	
}
a.scroll:hover {
	color: #DB8150;
}
#footer a, #footer a:link {
	color: #a8592e;
	text-decoration: none;
	text-shadow: 0px 1px 1px #1B0B00;
	-moz-text-shadow: 0px 1px 1px #1B0B00;
	-webkit-text-shadow: 0px 1px 1px #1B0B00;
}
#footer a:visited {
	color: #844522;
}
#footer a:hover {
	color: #E59264;
}
#footer a:active {
	color: #5C3F2F;
}
#footer a.current, #footer a.current:link, #footer a.current:visited{
	color: #eee;
}
p, ol, #main-content ul {
	margin-bottom: 21px;
}
p.small {
	font-size: 10px;
}
p.error, p.success {
	font-weight: bold;
	padding: 10px 20px;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background: #fff;
}
p.error {
	color: #B60006;
	border: 1px solid #B60006;
}
p.success {
	color: #005807;
	border: 1px solid #005807;
}
ol {
	list-style: inside upper-roman none;
}
a.pdf {
	padding-right: 20px;
	background: url('../images/pdf-icon.png') right 50% no-repeat;
}
.small {
	font-size: 10px;
}
a.external:hover {
	padding-right: 14px;
	background: url('../images/external.gif') right 50% no-repeat;
}
/***********************************************************************

																FORM ELEMENTS

***********************************************************************/
label {
	display: block;
	color: #0E3B60;
	float: left;
}
.required-symbol {
	color: #B60006;
	font-size: 8px;
	font-weight: bold;
	position: relative;
	top: -2px;
}
label.error {
	color: #B60006;
	position: relative;
	margin-right: 10px;
	float: right;
}
input.input-box, textarea.input-box {
	padding: 6px 40px 6px 10px;
	width: 570px;
	margin-bottom: 15px;
	border: 1px solid #666;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	background-color: #fff;
	clear: both;
}
input.input-box:focus, textarea.input-box:focus {
	background-color: #FFFFE8;
	border: 1px solid #333;
	-moz-box-shadow: 0px 1px 1px #ccc; 
  -webkit-box-shadow: 0px 1px 1px #ccc; 
  box-shadow: 0px 1px 1px #ccc; 
}
textarea.error, input.error {
	background-image: url('../images/error.png');
	background-position: 98% 6px;
	background-repeat:  no-repeat;
	border: 1px solid  #B60006;
}
textarea.success, input.success {
	background-image: url('../images/accept.png');
	background-position: 98% 6px;
	background-repeat:  no-repeat;
	border: 1px solid  #005807;
}
textarea.input-box {
	height: 150px;
}
button {
	border: none;
	cursor: pointer;
}
button, .cta-button {
	display: block;
	width: 272px;
	height: 60px;
	background: #ECDBC3 url('../images/cta-button.png') 0 0 no-repeat;
	line-height: 54px;
	text-align: center;
	text-shadow: 0px 1px 1px #fff;
	-moz-text-shadow: 0px 1px 1px #fff;
	-webkit-text-shadow: 0px 1px 1px #fff;
	font-weight: bold;
	font-size: 16px;
}
.cta-button:link, .cta-button:visited {
	text-decoration: none;
	color: #0E3B60;
}
button:hover, .cta-button:hover {
	text-decoration: none;
	color: #092236;
	background: #ECDBC3 url('../images/cta-button.png') 0 -60px no-repeat;
}
button:active, .cta-button:active {
	text-decoration: none;
	color: #030D16;
	background: #ECDBC3 url('../images/cta-button.png') 0 -120px no-repeat;
}
.honeypot {
	visibility: hidden;
	position: absolute;
}
form .small {
	text-align: right;
}
/***********************************************************************

																	TABLES

***********************************************************************/
/*no tables for now*/

/***********************************************************************

												GENERAL ELEMENTS AND LAYOUT

***********************************************************************/
body {
	text-align: center;
}
#non-semantic-div-1 {
	width: 100%;
	height: 581px;
	background: url('../images/body-bg-top.jpg') repeat-x;
	margin-bottom: -581px;
}
#non-semantic-div-2 {
	background: url('../images/footer-top-border.png') no-repeat;
	height: 8px;
}
#wrapper {
	width: 960px;
	background: url('../images/wrapper-bg.png') repeat-y;
	margin: 0 auto;
	text-align: left;
	padding: 0 15px;
}
#main-slideshow {
	background: #6b2c0a url('../images/slideshow-bg.jpg') 0 bottom no-repeat;
	padding-bottom: 37px;
}
#main-slideshow {
	height: 269px;
	overflow: hidden;
	position: relative;
}
#main-slideshow img { 
	position:absolute; 
	left:0; 
	top:0; 
	background: url('../images/loading-main-slideshow.gif') no-repeat 50% 50%;
}
#content {
	padding: 30px 30px 30px 30px;
	background: #eee url('../images/content-bg.png') repeat-y;
	overflow: hidden;
}
#main-content {
	width: 630px;
	float: left;
	overflow: hidden;
}
.col-1, .col-2 {
	width: 300px;
	float: left;
}
.col-1 {
	margin-right: 30px;
}
#sub-content {
	width: 210px;
	float: right;
}
#award-slideshow {
	height: 154px;
	width: 188px;
	background: #ccc url('../images/awards-frame.png') no-repeat; 
	padding: 13px 14px 10px 14px;
	overflow: hidden;
	margin-left: -3px;
	position: relative;
}
#award-slideshow img {
	padding: 13px 14px 10px 14px;
	position: absolute;
	top: 0;
	left: 0;
}
.sub-sub-content {
	background: url('../images/content-hr.png') 0 bottom repeat-x;
	padding-bottom: 15px;
	margin-bottom: 15px;
}
.sub-sub-content:last-child, #sub-content li.last {	
	background-image: none;
	padding-bottom: 0;
	margin-bottom: 0;
}
.bullet-list li {
	padding-left : 15px;
	background: url('../images/bullet.gif') left 7px no-repeat;
}
.opacity {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity: .5;
	-moz-opacity:0.5;
	-khtml-opacity:0.5;
}
.rounded-corner {
	border-radius: 10px;
	-moz-border-radius: 10px;
	-khtml-border-radius: 10px;
	behavior:url(js/border-radius.htc); /*for IE*/
}
img.decoration, img.decoration-full {
	float: right;
	padding: 3px;
	border: 1px solid #666;
	background: #fff;
	margin: 0 0 4px 4px;
}
img.decoration-full {
	float: none;
	margin: 0 0 10px 0;
}
/***********************************************************************

														BRANDING & MAIN NAV

***********************************************************************/
#header {
	background: #582408 url('../images/header.jpg') no-repeat;
	width: 960px;
	height: 181px;
	overflow: hidden;
}
#logo {
	text-indent: -99999px;
	overflow: hidden;
	display: block;
	width: 350px;
	height: 120px;
	position: relative;
	top: 20px;
	right: -50px;
	float: left;
}
#header .scroll {
	float: right;
	padding: 6px 10px 4px 4px;
}
#main-nav {
	width: 960px;
	height: 46px;
	background: url('../images/main-nav-bg.png') 50% 50% no-repeat;
	position: absolute;
	margin-top: -23px;
	text-align: center;
	z-index: 10;
}
#main-nav li {
	float: left;
	background: url('../images/main-nav-divider.png') 0 50% no-repeat
}
#main-nav li.first {
	background-image: none;
	margin-left: 35px;
}
#main-nav li a {
	font-size: 13px;
	font-weight: bold;
	padding: 11px 55px;
	display: block;
	color: #e4cfa7;
	text-shadow: 0px 1px 1px #000;
	-moz-text-shadow: 0px 1px 1px #000;
	-webkit-text-shadow: 0px 1px 1px #000;
	text-decoration: none;
}
#main-nav li a:link {
	text-decoration: none;
}
#main-nav li a.current, #main-nav li a:hover {
	background: url('../images/main-nav-active-bg.png') 50% 2px no-repeat;
	color: #f4ecdc;
	text-decoration: underline;
}
#main-nav li.multiple {
	position: relative;
}
#main-nav li .sub-menu {
	display: none;
	position: absolute;
	top: 42px;
	z-index: 10000;
	text-align: left;
	background: transparent url('../images/trans-b-85.png');
	background: rgba(18, 18, 18, 0.85) none;
	width: 300px;
	border-bottom-right-radius: 10px;
	-moz-border-radius-bottomright: 10px;
	-webkit-border-bottom-right-radius: 10px;
	border-bottom-left-radius: 10px;
	-moz-border-radius-bottomleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
	border: 1px solid #121212;
	border-width: 0 1px 1px 1px;
}
#main-nav li .sub-menu li {
	display: block;
	float: none;
	background: none;
	border-bottom: 1px solid rgb(0, 0, 0);
	border-top: 1px solid rgb(48, 48, 48);
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#main-nav li .sub-menu li:first-child {	
	border-top: none;
}

#main-nav li .sub-menu li:last-child, #main-nav li .sub-menu li.last {	
	border-bottom: none;
}
#main-nav li .sub-menu a {
	font-weight: normal;
	padding: 4px 10px;
	margin:0;
}
#main-nav li .sub-menu a:hover {
	background: none;
}
/***********************************************************************

															PAGE SPECIFIC

***********************************************************************/
.col-2 img {
	float: right;
	padding: 3px;
	background: #fff;
	border: 1px solid #666;
	margin: 0 0 6px 6px;
}
a.pay-online {
	display: block;
	height: 42px;
	width: 270px;
	background: url('../images/pay-online-icons.png') 0 0 no-repeat;
	text-indent: -99999px;
	overflow: hidden;
}
a.pay-online:hover {
	background: url('../images/pay-online-icons.png') 0 -42px no-repeat;
}
.service-wrapper {
padding-bottom: 5px;
	background: url('../images/content-hr.png') 0 bottom repeat-x;
}

/***********************************************************************

																FOOTER

***********************************************************************/
#footer {
	text-align: center;
	position: relative;
}
#footer-logo {
	position: absolute;
	left: 30px;
	top: 0px;
}
#footer-nav {
	width: 600px;
	margin: 30px auto 30px;
	padding-bottom: 30px;
	background: url('../images/footer-hr.jpg') 0 bottom repeat-x;
}
#footer-nav li {
	display: inline;
}
#footer-nav li a {
	padding: 2px 4px;
}
#footer-nav li::after {
	content: "|";
}
#footer-nav li.last::after {
	content: none;
}
#copyright {
	padding-bottom: 30px;
	font-size: 10px;
	color: #958881;
	margin-bottom: 0;
}
#footer .scroll {
	float: right;
	position: absolute;
	display: block;
	margin-top: -30px;
	right: 10px;
}
#footer .promo {
	float: left;
	position: absolute;
	display: block;
	margin-top: -30px;
	left: 10px;
	font-size: 10px;
}
/***********************************************************************

																OVERRIDES

***********************************************************************/
#overlay { 
	position: fixed; 
	top: 0; 
	left: 0; 
	width: 100%; 
	height: 100%; 
	/*background: transparent url('../images/trans-b-30.png');*/
	background: rgb(18,18,18); 
	display: none; 
	z-index:9999; 
}
#lightbox {
	border-top: 1px solid #333333;
	border-bottom: 1px solid #000;
	position: fixed; 
	top: 50%; 
	left: 50%; 
	padding: 10px; 
	background: #121212; 
	width: 600px; 
	height: 400px; 
	margin: -200px 0 0 -300px;
	display: none; 
	z-index:10000; 
	-moz-box-shadow: 0 0 20px rgba(18,18,18,0.6); 
	-webkit-box-shadow: 0 0 20px rgba(18,18,18,0.6); 
	box-shadow: 0 0 20px rgba(18,18,18,0.6); 
}
#lightbox.loading {
	background: #121212 url('../images/loading-lightbox.gif') no-repeat 50% 50%; 
}
#lightbox a.close {
	text-indent: -99999px;
	overflow: hidden;
	background: url('../images/cross.png') 50% 50% no-repeat;
	position: absolute; 
	right: 0; 
	top: 0; 
	display: block; 
	width: 16px;
	height: 16px;
	z-index: 5; 
	padding: 5px; 
	margin: 10px;
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity: .5;
	-moz-opacity:0.5;
	-webkit-opacity:0.5;
}
#lightbox a.close:hover {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}
#lightbox a.prev, #lightbox a.next { 
	position: absolute;
	top: 50%; 
	left: 0; 
	padding: 5px; 
	background: #121212; 
	margin-top: -0.5em; 
	color: #eee;
	width: 6em; 
	text-align: center; 
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
	filter: alpha(opacity=50);
	opacity: .5;
	-moz-opacity:0.5;
	-webkit-opacity:0.5;
	-moz-border-radius: 4px; 
	-webkit-border-radius: 4px; 
	border-radius: 4px;
}
#lightbox a.next {
	left: auto; 
	right: 0; 
}
#lightbox a:hover.prev, #lightbox a:hover.next {
	-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}
/*********************************THE END******************************/
